//
//  GWEmotionAttachment.m
//  新浪微博
//
//  Created by qianfeng on 16/2/22.
//  Copyright (c) 2016年 高炜. All rights reserved.
//

#import "GWEmotionAttachment.h"
#import "GWEmotion.h"

@implementation GWEmotionAttachment
-(void)setEmotion:(GWEmotion *)emotion
{
    _emotion =emotion;
    
    self.image =[UIImage imageNamed:[NSString stringWithFormat:@"%@/%@",emotion.filePath,emotion.png]];
}
@end
